#ifndef __FILEOP_H__
#define __FILEOP_H__

#include	<linux/fs.h>
#include	<linux/types.h>

int fop_open (struct inode *, struct file *);
ssize_t fop_read ( struct file *, char __user *, size_t, loff_t *);
ssize_t fop_write (struct file *, const char __user *, size_t, loff_t *);
loff_t fop_llseek (struct file *, loff_t, int );
int fop_release (struct inode *, struct file *);
int fop_mmap (struct file *, struct vm_area_struct *);
long fop_ioctl ( struct file*, unsigned int, unsigned long );

#endif // __FILEOP_H__
